
package org.orm.oop.core.mapping.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class MappingXml {
    private String className;

    private String table;

    private String description;

    private ID id;

    private List<Property> propertyList;

    @Data
    @Accessors(chain = true)
    public static class ID {
        private String name;

        private String type;

        private String column;
    }

    @Data
    @Accessors(chain = true)
    public static class Property {
        private String name;

        private String type;

        private String column;
    }
}